<%@page import="com.lynn.salary.util.ToolMethod"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

String searchTag_user = "user_"+ToolMethod.getCharAndNumr(8);
String searchTag_article = "article_"+ToolMethod.getCharAndNumr(8);
String searchTag_subject = "subject_"+ToolMethod.getCharAndNumr(8);
String searchTag_subject_comment = "subject_comment"+ToolMethod.getCharAndNumr(8);
String searchTag_accessory = "accessory_"+ToolMethod.getCharAndNumr(8);

%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath %>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>[启尚投资 - 管理平台]</title>

<link href="<%=basePath %>dwz/themes/default/style.css" rel="stylesheet" type="text/css"
	media="screen" />
<link href="<%=basePath %>dwz/themes/css/core.css" rel="stylesheet" type="text/css"
	media="screen" />
<link href="<%=basePath %>dwz/themes/css/print.css" rel="stylesheet" type="text/css"
	media="print" />
<link href="<%=basePath %>dwz/uploadify/css/uploadify.css" rel="stylesheet"
	type="text/css" media="screen" />

<!--[if IE]>
<link href="dwz/themes/css/ieHack.css" rel="stylesheet" type="text/css" media="screen"/>
<![endif]-->

<script src="<%=basePath %>dwz/js/speedup.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/jquery-1.7.1.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/jquery.cookie.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/jquery.validate.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/jquery.bgiframe.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/xheditor/xheditor-1.1.14-zh-cn.min.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/uploadify/scripts/swfobject.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/uploadify/scripts/jquery.uploadify.v2.1.0.js"
	type="text/javascript"></script>

<script src="<%=basePath %>dwz/js/dwz.core.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.util.date.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.validate.method.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.regional.zh.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.barDrag.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.drag.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.tree.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.accordion.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.ui.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.theme.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.switchEnv.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.alertMsg.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.contextmenu.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.navTab.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.tab.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.resize.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.dialog.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.dialogDrag.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.sortDrag.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.cssTable.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.stable.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.taskBar.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.ajax.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.pagination.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.database.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.datepicker.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.effects.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.panel.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.checkbox.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.history.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.combox.js" type="text/javascript"></script>
<script src="<%=basePath %>dwz/js/dwz.print.js" type="text/javascript"></script>             
<!--
<script src="<%=basePath %>dwz/bin/dwz.min.js" type="text/javascript"></script>
-->
<script src="<%=basePath %>dwz/js/dwz.regional.zh.js" type="text/javascript"></script>
<script type="text/javascript">
	$(function() {
		DWZ.init("dwz/dwz.frag.xml", {
			loginUrl : "<%=basePath %>admin",
			loginTitle : "登录", // 弹出登录对话框
			//		loginUrl:"login.html",	// 跳到登录页面
			statusCode : {
				ok : 200,
				error : 300,
				timeout : 301
			}, //【可选】
			pageInfo : {
				pageNum : "pageNum",
				numPerPage : "numPerPage",
				orderField : "orderField",
				orderDirection : "orderDirection"
			}, //【可选】
			debug : false, // 调试模式 【true|false】
			callback : function() {
				initEnv();
				$("#themeList").theme({
					themeBase : "dwz/themes"
				}); // themeBase 相对于index页面的主题base路径
			}
		});
	});
</script>
</head>

<body scroll="no">
	<div id="layout">
		<div id="header">
			<div class="headerNav">
				<a class="logo" target="blank_" href="<%=basePath %>">LOGO</a>
				<ul class="nav">
					<li><a href="<%=basePath %>user!changepwd.do" minable=false mask=true resizable=false maxable=false resizable=false target="dialog" width="600" rel="changepwd">密码设置</a>
					</li>
					<li><a href="login!logout.do?<%=ToolMethod.getCharAndNumr(8) %>">退出</a>
					</li>
				</ul>
				<ul class="themeList" id="themeList">
					<li theme="default"><div>蓝色</div></li>
					<li theme="green"><div>绿色</div></li>
					<li theme="purple"><div>紫色</div></li>
					<li theme="silver"><div>银色</div></li>
					<li theme="azure"><div class="selected">天蓝</div></li>
				</ul>
			</div>

			<!-- navMenu -->

		</div>

		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse">
						<div></div>
					</div>
				</div>
			</div>
			<div id="sidebar">
				<div class="toggleCollapse">
					<h2>启尚投资</h2>
					<div>收缩</div>
				</div>
				<div class="accordion" fillSpace="sidebar">
					<div class="accordionHeader">
						<h2>
							<span>Folder</span>文章管理
						</h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder">
							<li><a href="<%=basePath %>article.do" rel="createNews" target="navTab">新建文章</a></li>
							<li><a href="<%=basePath%>common.do?pageName=seeAllArticle&searchTag=<%=searchTag_article %>" rel="seeAllArticle" target="navTab">所有文章</a></li>
							<li><a href="<%=basePath%>common.do?pageName=allArticleType" rel="allArticleType" target="navTab">所有文章类型</a></li>
							<%--<li><a href="<%=basePath %>employee!headImg.do" rel="emppds9" target="navTab">个人头像</a></li>--%>
							<%--<li><a href="" target="navTab" rel="personSalary">工资组成</a></li>
							<li><a href="" target="navTab" rel="personWelfare">工资记录</a></li>
							<li><a href="<%=basePath %>attendance!showMyDailySign.do" target="navTab" rel="myDailySign">我的考勤</a></li>
							<li><a href="" target="navTab" rel="dailySign">每日签到</a></li>
						--%></ul>
					</div>
					<%--<div class="accordionHeader">
						<h2>
							<span>Folder</span>个人时间
						</h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder">
							<li><a href="<%=basePath %>apply!create.do" target="navTab" rel="create_apply">个人时间填写</a></li>
							<li><a href="<%=basePath %>common.do?pageName=Checking" target="navTab" rel="checking3209">审核中</a></li>
							<li><a href="<%=basePath %>common.do?pageName=attendanceRecord" target="navTab" rel="apply_history">历&nbsp;&nbsp;&nbsp;&nbsp;史</a></li>
						</ul>
					</div>
					<div class="accordionHeader">
						<h2>
							<span>Folder</span>审批处理
						</h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder">
							<li><a href="<%=basePath %>common.do?pageName=waitCheck" target="navTab" rel="waitCheck">待我处理</a></li>
							<li><a href="<%=basePath %>common.do?pageName=checkHistory" target="navTab"  rel="checkHistory">审核历史</a></li>
						</ul>
					</div>
					<div class="accordionHeader">
						<h2>
							<span>Folder</span>人员管理
						</h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder">
							<li><a href="http://www.baidu.com" target="navTab" rel="main">部门员工</a></li>
							<li><a href="<%=basePath %>common.do?pageName=emp" rel="empp3" target="navTab">人员档案</a></li>
						</ul>
					</div>
					
					<div class="accordionHeader">
						<h2>
							<span>Folder</span>考勤管理
						</h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder">
							<li><a href="<%=basePath %>common.do?pageName=attendanceType" rel="kaoqin" target="navTab">考勤类别管理</a></li>
							<li><a href="" target="navTab" rel="kaoqinData">考勤详情</a></li>
							<li><a href="<%=basePath %>attendance!monthReport.do" target="navTab" rel="kaoqinabc">考勤报表</a></li>
							<li><a href="<%=basePath %>attendance!uploadMonthReport.do" target="navTab" rel="kaoqinabcsc">上传报表</a></li>
						</ul>
					</div>
					<div class="accordionHeader">
						<h2>
							<span>Folder</span>工资管理
						</h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder">
							<li><a href="<%=basePath %>empSalaryItem!salaryStandard.do" target="navTab" rel="salaryType">工资类别</a></li>
							<li><a href="<%=basePath %>common.do?pageName=salaryItem" target="navTab" rel="gongzi">工资项</a></li>
							<li><a href="<%=basePath %>statistics!salaryAssign.do" target="navTab" rel="salaryAssign">工资分配</a></li>
							<li><a href="<%=basePath %>emp!salaryPublish.do" target="navTab" rel="salaryPublish">工资发放</a></li>
							<li><a href="<%=basePath %>attendance!showAllKqReport.do" target="navTab" rel="salaryTable">考勤汇总表</a></li>
							<li><a href="<%=basePath %>statistics!showSalaryReport.do" target="navTab" rel="salaryTable">工资表</a></li>
							<li><a href="<%=basePath %>import!importSalary.do" target="navTab" rel="salaryTableImp">上传工资表</a></li>
							<li><a href="" target="navTab" rel="salaryTableExp">工资表导出</a></li>
						</ul>
					</div>
					
					<div class="accordionHeader">
						<h2>
							<span>Folder</span>统计报表
						</h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder">
							<li><a href="http://www.baidu.com" target="navTab" rel="main">通用统计</a></li>
							<li><a href="<%=basePath %>statistics!tj1.do" target="navTab" rel="adsdf32ds">考勤统计</a></li>
						</ul>
					</div>
					
					--%><div class="accordionHeader">
						<h2>
							<span>Folder</span>注册用户管理
						</h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder">
							<li><a href="<%=basePath %>common.do?pageName=userMgt&searchTag=<%=searchTag_user %>" target="navTab" rel="allUser">所有用户</a></li>
							<%--<li><a href="<%=basePath %>employee!empRoleAssign.do" rel="" target="navTab">员工角色分配</a></li>
							<li><a href="common.do?pageName=permission" target="navTab" rel="permissionMgPage">权限管理</a></li>
							<li><a href="<%=basePath %>common.do?pageName=role" rel="roleMgPage" target="navTab">角色管理</a></li>
							<li><a href="<%=basePath %>employee!roles.do" rel="roleMgPage" target="navTab">角色管理</a>--%></li>
						</ul>
					</div>
					<div class="accordionHeader">
						<h2>
							<span>Folder</span>信息交流区管理
						</h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder">
							<li><a href="<%=basePath %>common.do?pageName=allSubject&searchTag=<%=searchTag_subject %>" rel="allSubject" target="navTab">所有帖子</a></li>
							<li><a href="<%=basePath %>common.do?pageName=topSubject" rel="topSubject" target="navTab">已置顶帖子</a></li>
							<li><a href="<%=basePath %>common.do?pageName=jhSubject" rel="jhSubject" target="navTab">已精华帖子</a></li>
							<li><a href="<%=basePath %>common.do?pageName=allSubjectComment&searchTag=<%=searchTag_subject_comment %>" rel="allSubjectComment" target="navTab">所有评论</a></li>
						</ul>
					</div>
					<div class="accordionHeader">
						<h2>
							<span>Folder</span>个股精研管理
						</h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder">
							<li><a href="<%=basePath %>common.do?pageName=allAccessory&searchTag=<%=searchTag_accessory %>" rel="allAccessory" target="navTab">所有附件</a></li>
						</ul>
					</div>
					<div class="accordionHeader">
						<h2>
							<span>Folder</span>系统参数管理
						</h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder">
							<li><a href="<%=basePath %>common.do?pageName=sysArgument" rel="sysArgument" target="navTab">参数管理</a></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent">
						<!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
						<ul class="navTab-tab">
							<li tabid="main" class="main"><a href="javascript:;">
							<span><span class="home_icon">我的主页</span></span></a></li>
						</ul>
					</div>
					<div class="tabsLeft">left</div>
					<!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
					<div class="tabsRight">right</div>
					<!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
					<div class="tabsMore">more</div>
				</div>
				<ul class="tabsMoreList">
					<li><a href="javascript:;">我的主页</a></li>
				</ul>
				<div class="navTab-panel tabsPageContent layoutBox">
					<div class="page unitBox">
						<div class="accountInfo">
							<div style="font-size: 18px;font-family:微软雅黑;font-weight:bold;text-align: center;line-height: 20px;margin-top: 20px;">
								欢迎使用启尚投资管理平台
							</div>
						</div>
						<div class="pageFormContent" layoutH="80" style="margin-right:230px">
							<p>
							当前登录用户: ${loginUser.loginUser.name}
							</p>
							<p style="color:red">


							</p>

							<div class="divider"></div>
							<h2>

							</h2>
							<p>

							</p>
							<div class="divider"></div>
							<h2>
							
							</h2>
							<div class="unit">


							</div>
							<div class="unit">


							</div>
							<div class="unit">


							</div>
							<div class="unit">


							</div>
							<div class="unit">

								
							</div>
							<div class="divider"></div>
							<h2>
								
							</h2>
							<pre style="margin:5px;line-height:1.4em">


							</pre>
							<div class="divider"></div>
							<h2>
							
							</h2>
							<pre style="margin:5px;line-height:1.4em;">

							</pre>
						</div>
						<div style="width:230px;position: absolute;top:60px;right:0" layoutH="80">


						</div>
					</div>

				</div>
			</div>
		</div>
	</div>
	<div id="footer">
		Copyright &copy; 2013 <a href="demo_page2.html" target="dialog"></a>
	</div>
</body>
</html>

<%-- <script type='text/javascript' src='<%=basePath %>dwr/engine.js'></script>
<script type='text/javascript' src='<%=basePath %>dwr/interface/RemoteService.js'></script>
<script type='text/javascript' src='<%=basePath %>dwr/util.js'></script> --%>
<script type='text/javascript'>
	searchTag = {};
	searchTag['user'] = '<%=searchTag_user %>';
	searchTag['article'] = '<%=searchTag_article %>';
	searchTag['subject'] = '<%=searchTag_subject %>';
	searchTag['subject_comment'] = '<%=searchTag_subject_comment %>';
	searchTag['accessory'] = '<%=searchTag_accessory %>';
	function stringToJson(stringValue){
	   eval("var theJsonValue = "+stringValue);
	   return theJsonValue;
	};
	refresh_rel = function (rel) {
		//alert(rel);
		$("//li/a[rel='"+rel+"']").click();
	};
	userSearchDialogCloseHandle = function() {
		$.ajax({
			  url: "<%=basePath%>search!remove.do?searchTag="+searchTag['user']+"&rel=allUser"
			}).done(function(data){
				refresh_rel(stringToJson(data)['rel']);
			});
		return true;
	};
	
	articleSearchDialogCloseHandle = function() {
		$.ajax({
			  url: "<%=basePath%>search!remove.do?searchTag="+searchTag['article']+"&rel=seeAllArticle"
			}).done(function(data){
				refresh_rel(stringToJson(data)['rel']);
			});
		return true;
	};
	subjectSearchDialogCloseHandle = function() {
		$.ajax({
			  url: "<%=basePath%>search!remove.do?searchTag="+searchTag['subject']+"&rel=allSubject"
			}).done(function(data){
				refresh_rel(stringToJson(data)['rel']);
			});
		return true;
	};
	subjectCommentSearchDialogCloseHandle = function() {
		$.ajax({
			  url: "<%=basePath%>search!remove.do?searchTag="+searchTag['subject_comment']+"&rel=allSubjectComment"
			}).done(function(data){
				refresh_rel(stringToJson(data)['rel']);
			});
		return true;
	};
	accessorySearchDialogCloseHandle = function() {
		$.ajax({
			  url: "<%=basePath%>search!remove.do?searchTag="+searchTag['accessory']+"&rel=allAccessory"
			}).done(function(data){
				refresh_rel(stringToJson(data)['rel']);
			});
		return true;
	};
</script>